instantiate ( service in module AUTO )

Description

Create a new instance of JS type. The method takes a constructor function invokes the new operator and supplies all of the arguments to the constructor function as specified by the constructor annotation.

Parameters

Returns

{Object}

new instance of Type .